<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>sock: sock::http::HttpRequest Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">sock
   &#160;<span id="projectnumber">v0.11</span>
   </div>
   <div id="projectbrief">C++ Network Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesock.html">sock</a></li><li class="navelem"><a class="el" href="namespacesock_1_1http.html">http</a></li><li class="navelem"><a class="el" href="classsock_1_1http_1_1_http_request.html">HttpRequest</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classsock_1_1http_1_1_http_request-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">sock::http::HttpRequest Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>HTTP请求  
 <a href="classsock_1_1http_1_1_http_request.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="http__request_8h_source.html">http_request.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for sock::http::HttpRequest:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsock_1_1http_1_1_http_request.png" usemap="#sock::http::HttpRequest_map" alt=""/>
  <map id="sock::http::HttpRequest_map" name="sock::http::HttpRequest_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a44fbaace6c1f6f29d50704c70d95e16a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_request.html#a44fbaace6c1f6f29d50704c70d95e16a">HttpRequest</a> (void)</td></tr>
<tr class="separator:a44fbaace6c1f6f29d50704c70d95e16a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada53165c7550486e14537c7b0bb0cc8e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_request.html#ada53165c7550486e14537c7b0bb0cc8e">~HttpRequest</a> (void)</td></tr>
<tr class="separator:ada53165c7550486e14537c7b0bb0cc8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22b6c7d1d96e44bfdbbfd6296b561914"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacesock_1_1http.html#aa260534fb759e974d6fcc1477015b9c0">RequestMethod</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_request.html#a22b6c7d1d96e44bfdbbfd6296b561914">getMethod</a> (void)</td></tr>
<tr class="memdesc:a22b6c7d1d96e44bfdbbfd6296b561914"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取请求方式  <a href="#a22b6c7d1d96e44bfdbbfd6296b561914">More...</a><br /></td></tr>
<tr class="separator:a22b6c7d1d96e44bfdbbfd6296b561914"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a408f9ce422201e687657af4bbb05fbd7"><td class="memItemLeft" align="right" valign="top">std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_request.html#a408f9ce422201e687657af4bbb05fbd7">getPath</a> (void)</td></tr>
<tr class="memdesc:a408f9ce422201e687657af4bbb05fbd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取请求路径  <a href="#a408f9ce422201e687657af4bbb05fbd7">More...</a><br /></td></tr>
<tr class="separator:a408f9ce422201e687657af4bbb05fbd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae75effad3e56ac02ffc47d3253aa54c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacesock_1_1http.html#ac5e7c0dc7506cb150c803b1e52020020">ConnectionState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_request.html#ae75effad3e56ac02ffc47d3253aa54c9">getConnectionState</a> (void)</td></tr>
<tr class="memdesc:ae75effad3e56ac02ffc47d3253aa54c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取连接状态  <a href="#ae75effad3e56ac02ffc47d3253aa54c9">More...</a><br /></td></tr>
<tr class="separator:ae75effad3e56ac02ffc47d3253aa54c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a3e611175a551b64dda26f513067e0d04"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_request.html#a3e611175a551b64dda26f513067e0d04">HttpSession</a></td></tr>
<tr class="separator:a3e611175a551b64dda26f513067e0d04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbd983dbf47d1ea7f49150a1ec170302"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsock_1_1http_1_1_http_request.html#abbd983dbf47d1ea7f49150a1ec170302">HttpRequestParser</a></td></tr>
<tr class="separator:abbd983dbf47d1ea7f49150a1ec170302"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>HTTP请求 </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a44fbaace6c1f6f29d50704c70d95e16a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HttpRequest::HttpRequest </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ada53165c7550486e14537c7b0bb0cc8e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HttpRequest::~HttpRequest </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae75effad3e56ac02ffc47d3253aa54c9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacesock_1_1http.html#ac5e7c0dc7506cb150c803b1e52020020">ConnectionState</a> sock::http::HttpRequest::getConnectionState </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取连接状态 </p>
<dl class="section return"><dt>Returns</dt><dd>ConnectionState </dd></dl>

</div>
</div>
<a class="anchor" id="a22b6c7d1d96e44bfdbbfd6296b561914"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacesock_1_1http.html#aa260534fb759e974d6fcc1477015b9c0">RequestMethod</a> sock::http::HttpRequest::getMethod </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取请求方式 </p>
<dl class="section return"><dt>Returns</dt><dd>RequestMethod </dd></dl>

</div>
</div>
<a class="anchor" id="a408f9ce422201e687657af4bbb05fbd7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string&amp; sock::http::HttpRequest::getPath </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取请求路径 </p>
<dl class="section return"><dt>Returns</dt><dd>std::string&amp; </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="abbd983dbf47d1ea7f49150a1ec170302"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classsock_1_1http_1_1_http_request_parser.html">HttpRequestParser</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3e611175a551b64dda26f513067e0d04"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classsock_1_1http_1_1_http_session.html">HttpSession</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>E:/git/sock/sock/http/<a class="el" href="http__request_8h_source.html">http_request.h</a></li>
<li>E:/git/sock/src/http/<a class="el" href="http__request_8cc.html">http_request.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>
